<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Hexo-Theme-Sakura | 火花骑士团</title><meta name="keywords" content="Sakura"><meta name="author" content="超好吃的派蒙"><meta name="copyright" content="超好吃的派蒙"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="hexo-sakura主题使用教程">
<meta property="og:type" content="article">
<meta property="og:title" content="Hexo-Theme-Sakura">
<meta property="og:url" content="https://mantouxia.gitee.io/2018/12/12/Hexo-Theme-Sakura/index.html">
<meta property="og:site_name" content="火花骑士团">
<meta property="og:description" content="hexo-sakura主题使用教程">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg">
<meta property="article:published_time" content="2018-12-12T14:16:01.000Z">
<meta property="article:modified_time" content="2020-03-15T19:41:30.000Z">
<meta property="article:author" content="超好吃的派蒙">
<meta property="article:tag" content="web">
<meta property="article:tag" content="悦读">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg"><link rel="shortcut icon" href="/img/favicon.png"><link rel="canonical" href="https://mantouxia.gitee.io/2018/12/12/Hexo-Theme-Sakura/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = { 
  root: '/',
  algolia: undefined,
  localSearch: undefined,
  translate: undefined,
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: undefined,
  source: {
    jQuery: 'https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js',
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/js/jquery.justifiedGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/css/justifiedGallery.min.css'
    },
    fancybox: {
      js: 'https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.js',
      css: 'https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: false,
  isanchor: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = { 
  isPost: true,
  isHome: false,
  isHighlightShrink: false,
  isToc: true,
  postUpdate: '2020-03-16 03:41:30'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          if (t === 'dark') activateDarkMode()
          else if (t === 'light') activateLightMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    })(window)</script><meta name="generator" content="Hexo 5.4.0"></head><body><div id="loading-box"><div class="loading-left-bg"></div><div class="loading-right-bg"></div><div class="spinner-box"><div class="configure-border-1"><div class="configure-core"></div></div><div class="configure-border-2"><div class="configure-core"></div></div><div class="loading-word">加载中...</div></div></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="author-avatar"><img class="avatar-img" src="/null" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="site-data"><div class="data-item is-center"><div class="data-item-link"><a href="/archives/"><div class="headline">文章</div><div class="length-num">4</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/tags/"><div class="headline">标签</div><div class="length-num">4</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/categories/"><div class="headline">分类</div><div class="length-num">2</div></a></div></div></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 影音</span><i class="fas fa-chevron-down expand"></i></a><ul class="menus_item_child"><li><a class="site-page" href="/music/"><i class="fa-fw fas fa-music"></i><span> 音乐</span></a></li><li><a class="site-page" href="/Gallery/"><i class="fa-fw fas fa-images"></i><span> 照片</span></a></li><li><a class="site-page" href="/movies/"><i class="fa-fw fas fa-video"></i><span> 影像</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友人帐</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg" id="page-header" style="background-image: url('https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg')"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">火花骑士团</a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 影音</span><i class="fas fa-chevron-down expand"></i></a><ul class="menus_item_child"><li><a class="site-page" href="/music/"><i class="fa-fw fas fa-music"></i><span> 音乐</span></a></li><li><a class="site-page" href="/Gallery/"><i class="fa-fw fas fa-images"></i><span> 照片</span></a></li><li><a class="site-page" href="/movies/"><i class="fa-fw fas fa-video"></i><span> 影像</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友人帐</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="post-info"><h1 class="post-title">Hexo-Theme-Sakura</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2018-12-12T14:16:01.000Z" title="发表于 2018-12-12 22:16:01">2018-12-12</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2020-03-15T19:41:30.000Z" title="更新于 2020-03-16 03:41:30">2020-03-16</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/categories/%E6%8A%80%E6%9C%AF/">技术</a></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-pv-cv"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">阅读量:</span><span id="busuanzi_value_page_pv"></span></span></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="post-content" id="article-container"><p>hexo-theme-sakura主题 <a target="_blank" rel="noopener" href="https://github.com/honjun/hexo-theme-sakura/blob/master/README.md">English document</a></p>
<p>基于WordPress主题<a target="_blank" rel="noopener" href="https://github.com/mashirozx/Sakura/">Sakura</a>修改成Hexo的主题。</p>
<p><a target="_blank" rel="noopener" href="https://sakura.hojun.cn/">demo预览</a></p>
<p>正在开发中……</p>
<p><img src="https://wx3.sinaimg.cn/large/006bYVyvly1g069tuf42oj312w0m8ndq.jpg"></p>
<h2 id="交流群"><a href="#交流群" class="headerlink" title="交流群"></a>交流群</h2><p>若你是使用者，加群QQ: 801511924</p>
<p>若你是创作者，加群QQ: 194472590</p>
<h2 id="主题特性"><a href="#主题特性" class="headerlink" title="主题特性"></a>主题特性</h2><ul>
<li>首页大屏视频</li>
<li>首页随机封面</li>
<li>图片懒加载</li>
<li>valine评论</li>
<li>fancy-box相册</li>
<li>pjax支持，音乐不间断</li>
<li>aplayer音乐播放器</li>
<li>多级导航菜单（按现在大部分hexo主题来说，这也算是个特性了）</li>
</ul>
<h2 id="赞赏作者"><a href="#赞赏作者" class="headerlink" title="赞赏作者"></a>赞赏作者</h2><p>如果喜欢hexo-theme-sakura主题，可以考虑资助一下哦~非常感激！</p>
<p><a target="_blank" rel="noopener" href="https://www.paypal.me/hojuncn">paypal</a> | <a target="_blank" rel="noopener" href="https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/custom/donate/AliPayQR.jpg">Alipay 支付宝</a> | <a target="_blank" rel="noopener" href="https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/custom/donate/WeChanSQ.jpg">WeChat Pay 微信支付</a></p>
<h2 id="未完善的使用教程"><a href="#未完善的使用教程" class="headerlink" title="未完善的使用教程"></a>未完善的使用教程</h2><p>那啥？老实说我目前也不是很有条理233333333~</p>
<h2 id="1、主题下载安装"><a href="#1、主题下载安装" class="headerlink" title="1、主题下载安装"></a>1、主题下载安装</h2><p><a target="_blank" rel="noopener" href="https://github.com/honjun/hexo-theme-sakura">hexo-theme-sakura</a>建议下载压缩包格式，因为除了主题内容还有些source的配置对新手来说比较太麻烦，直接下载解压就省去这些麻烦咯。</p>
<p>下载好后解压到博客根目录（不是主题目录哦，重复的选择替换）。接着在命令行（cmd、bash）运行<code>npm i</code>安装依赖。</p>
<h2 id="2、主题配置"><a href="#2、主题配置" class="headerlink" title="2、主题配置"></a>2、主题配置</h2><h3 id="博客根目录下的-config配置"><a href="#博客根目录下的-config配置" class="headerlink" title="博客根目录下的_config配置"></a>博客根目录下的_config配置</h3><p>站点</p>
<figure class="highlight yml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><code class="hljs yml"><span class="hljs-comment"># Site</span><br><span class="hljs-attr">title:</span> <span class="hljs-string">你的站点名</span><br><span class="hljs-attr">subtitle:</span><br><span class="hljs-attr">description:</span> <span class="hljs-string">站点简介</span><br><span class="hljs-attr">keywords:</span><br><span class="hljs-attr">author:</span> <span class="hljs-string">作者名</span><br><span class="hljs-attr">language:</span> <span class="hljs-string">zh-cn</span><br><span class="hljs-attr">timezone:</span><br></code></pre></td></tr></table></figure>

<p>部署</p>
<figure class="highlight yml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><code class="hljs yml"><span class="hljs-attr">deploy:</span><br>  <span class="hljs-attr">type:</span> <span class="hljs-string">git</span><br>  <span class="hljs-attr">repo:</span> <br>    <span class="hljs-attr">github:</span> <span class="hljs-string">你的github仓库地址</span><br>    <span class="hljs-comment"># coding: 你的coding仓库地址</span><br>  <span class="hljs-attr">branch:</span> <span class="hljs-string">master</span><br></code></pre></td></tr></table></figure>

<p>备份 （使用hexo b发布备份到远程仓库）</p>
<figure class="highlight yml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><code class="hljs yml"><span class="hljs-attr">backup:</span><br>  <span class="hljs-attr">type:</span> <span class="hljs-string">git</span><br>  <span class="hljs-attr">message:</span> <span class="hljs-string">backup</span> <span class="hljs-string">my</span> <span class="hljs-string">blog</span> <span class="hljs-string">of</span> <span class="hljs-string">https://honjun.github.io/</span><br>  <span class="hljs-attr">repository:</span><br>    <span class="hljs-comment"># 你的github仓库地址,备份分支名  （建议新建backup分支）</span><br>    <span class="hljs-attr">github:</span> <span class="hljs-string">https://github.com/honjun/honjun.github.io.git,backup</span><br>    <span class="hljs-comment"># coding: https://git.coding.net/hojun/hojun.git,backup</span><br><br></code></pre></td></tr></table></figure>

<h3 id="主题目录下的-config配置"><a href="#主题目录下的-config配置" class="headerlink" title="主题目录下的_config配置"></a>主题目录下的_config配置</h3><p>其中标明【改】的是需要修改部门，标明【选】是可改可不改，标明【非】是不用改的部分</p>
<figure class="highlight yml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br><span class="line">74</span><br><span class="line">75</span><br><span class="line">76</span><br><span class="line">77</span><br><span class="line">78</span><br><span class="line">79</span><br><span class="line">80</span><br><span class="line">81</span><br><span class="line">82</span><br><span class="line">83</span><br><span class="line">84</span><br><span class="line">85</span><br><span class="line">86</span><br><span class="line">87</span><br><span class="line">88</span><br><span class="line">89</span><br><span class="line">90</span><br><span class="line">91</span><br><span class="line">92</span><br><span class="line">93</span><br><span class="line">94</span><br><span class="line">95</span><br><span class="line">96</span><br><span class="line">97</span><br><span class="line">98</span><br><span class="line">99</span><br><span class="line">100</span><br><span class="line">101</span><br><span class="line">102</span><br><span class="line">103</span><br><span class="line">104</span><br><span class="line">105</span><br><span class="line">106</span><br><span class="line">107</span><br><span class="line">108</span><br><span class="line">109</span><br><span class="line">110</span><br><span class="line">111</span><br><span class="line">112</span><br><span class="line">113</span><br><span class="line">114</span><br><span class="line">115</span><br><span class="line">116</span><br><span class="line">117</span><br><span class="line">118</span><br><span class="line">119</span><br><span class="line">120</span><br><span class="line">121</span><br></pre></td><td class="code"><pre><code class="hljs yml"><span class="hljs-comment"># site name</span><br><span class="hljs-comment"># 站点名 【改】</span><br><span class="hljs-attr">prefixName:</span> <span class="hljs-string">さくら荘その</span><br><span class="hljs-attr">siteName:</span> <span class="hljs-string">hojun</span><br><br><span class="hljs-comment"># favicon and site master avatar</span><br><span class="hljs-comment"># 站点的favicon和头像 输入图片路径（下面的配置是都是cdn的相对路径，没有cdn请填写完整路径，建议使用jsdeliver搭建一个cdn啦，先去下载我的cdn替换下图片就行了，简单方便~）【改】</span><br><span class="hljs-attr">favicon:</span> <span class="hljs-string">/images/favicon.ico</span><br><span class="hljs-attr">avatar:</span> <span class="hljs-string">/img/custom/avatar.jpg</span><br><br><span class="hljs-comment"># 站点url 【改】</span><br><span class="hljs-attr">url:</span> <span class="hljs-string">https://sakura.hojun.cn</span><br><br><span class="hljs-comment"># 站点介绍（或者说是个人签名）【改】</span><br><span class="hljs-attr">description:</span> <span class="hljs-string">Live</span> <span class="hljs-string">your</span> <span class="hljs-string">life</span> <span class="hljs-string">with</span> <span class="hljs-string">passion!</span> <span class="hljs-string">With</span> <span class="hljs-string">some</span> <span class="hljs-string">drive!</span><br><br><span class="hljs-comment"># 站点cdn，没有就为空 【改】  若是cdn为空，一些图片地址就要填完整地址了，比如之前avatar就要填https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/custom/avatar.jpg</span><br><span class="hljs-attr">cdn:</span> <span class="hljs-string">https://cdn.jsdelivr.net/gh/honjun/cdn@1.6</span><br><br><span class="hljs-comment"># 开启pjax 【选】</span><br><span class="hljs-attr">pjax:</span> <span class="hljs-number">1</span><br><br><span class="hljs-comment"># 站点首页的公告信息 【改】</span><br><span class="hljs-attr">notice:</span> <span class="hljs-string">hexo-Sakura主题已经开源，目前正在开发中...</span><br><br><span class="hljs-comment"># 懒加载的加载中图片 【选】</span><br><span class="hljs-attr">lazyloadImg:</span> <span class="hljs-string">https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/loader/orange.progress-bar-stripe-loader.svg</span><br><br><span class="hljs-comment"># 站点菜单配置 【选】</span><br><span class="hljs-attr">menus:</span><br>  <span class="hljs-string">首页:</span> &#123; <span class="hljs-attr">path:</span> <span class="hljs-string">/</span>, <span class="hljs-attr">fa:</span> <span class="hljs-string">fa-fort-awesome</span> <span class="hljs-string">faa-shake</span> &#125;<br>  <span class="hljs-string">归档:</span> &#123; <span class="hljs-attr">path:</span> <span class="hljs-string">/archives</span>, <span class="hljs-attr">fa:</span> <span class="hljs-string">fa-archive</span> <span class="hljs-string">faa-shake</span>, <span class="hljs-attr">submenus:</span> &#123; <br>    <span class="hljs-string">技术:</span> &#123;<span class="hljs-attr">path:</span> <span class="hljs-string">/categories/技术/</span>, <span class="hljs-attr">fa:</span> <span class="hljs-string">fa-code</span> &#125;, <br>    <span class="hljs-string">生活:</span> &#123;<span class="hljs-attr">path:</span> <span class="hljs-string">/categories/生活/</span>, <span class="hljs-attr">fa:</span> <span class="hljs-string">fa-file-text-o</span> &#125;, <br>    <span class="hljs-string">资源:</span> &#123;<span class="hljs-attr">path:</span> <span class="hljs-string">/categories/资源/</span>, <span class="hljs-attr">fa:</span> <span class="hljs-string">fa-cloud-download</span> &#125;, <br>    <span class="hljs-string">随想:</span> &#123;<span class="hljs-attr">path:</span> <span class="hljs-string">/categories/随想/</span>, <span class="hljs-attr">fa:</span> <span class="hljs-string">fa-commenting-o</span> &#125;,<br>    <span class="hljs-string">转载:</span> &#123;<span class="hljs-attr">path:</span> <span class="hljs-string">/categories/转载/</span>, <span class="hljs-attr">fa:</span> <span class="hljs-string">fa-book</span> &#125;<br>  &#125; &#125;<br>  <span class="hljs-string">清单:</span> &#123; <span class="hljs-attr">path:</span> <span class="hljs-string">javascript:;</span>, <span class="hljs-attr">fa:</span> <span class="hljs-string">fa-list-ul</span> <span class="hljs-string">faa-vertical</span>, <span class="hljs-attr">submenus:</span> &#123; <br>    <span class="hljs-string">书单:</span> &#123;<span class="hljs-attr">path:</span> <span class="hljs-string">/tags/悦读/</span>, <span class="hljs-attr">fa:</span> <span class="hljs-string">fa-th-list</span> <span class="hljs-string">faa-bounce</span> &#125;, <br>    <span class="hljs-string">番组:</span> &#123;<span class="hljs-attr">path:</span> <span class="hljs-string">/bangumi/</span>, <span class="hljs-attr">fa:</span> <span class="hljs-string">fa-film</span> <span class="hljs-string">faa-vertical</span> &#125;, <br>    <span class="hljs-string">歌单:</span> &#123;<span class="hljs-attr">path:</span> <span class="hljs-string">/music/</span>, <span class="hljs-attr">fa:</span> <span class="hljs-string">fa-headphones</span> &#125;,<br>    <span class="hljs-string">图集:</span> &#123;<span class="hljs-attr">path:</span> <span class="hljs-string">/tags/图集/</span>, <span class="hljs-attr">fa:</span> <span class="hljs-string">fa-photo</span> &#125;<br>  &#125; &#125;<br>  <span class="hljs-string">留言板:</span> &#123; <span class="hljs-attr">path:</span> <span class="hljs-string">/comment/</span>, <span class="hljs-attr">fa:</span> <span class="hljs-string">fa-pencil-square-o</span> <span class="hljs-string">faa-tada</span> &#125;<br>  <span class="hljs-string">友人帐:</span> &#123; <span class="hljs-attr">path:</span> <span class="hljs-string">/links/</span>, <span class="hljs-attr">fa:</span> <span class="hljs-string">fa-link</span> <span class="hljs-string">faa-shake</span> &#125;<br>  <span class="hljs-string">赞赏:</span> &#123; <span class="hljs-attr">path:</span> <span class="hljs-string">/donate/</span>, <span class="hljs-attr">fa:</span> <span class="hljs-string">fa-heart</span> <span class="hljs-string">faa-pulse</span> &#125;<br>  <span class="hljs-string">关于:</span> &#123; <span class="hljs-attr">path:</span> <span class="hljs-string">/</span>, <span class="hljs-attr">fa:</span> <span class="hljs-string">fa-leaf</span> <span class="hljs-string">faa-wrench</span> , <span class="hljs-attr">submenus:</span> &#123; <br>    <span class="hljs-string">我？:</span> &#123;<span class="hljs-attr">path:</span> <span class="hljs-string">/about/</span>, <span class="hljs-attr">fa:</span> <span class="hljs-string">fa-meetup</span>&#125;, <br>    <span class="hljs-string">主题:</span> &#123;<span class="hljs-attr">path:</span> <span class="hljs-string">/theme-sakura/</span>, <span class="hljs-attr">fa:</span> <span class="hljs-string">iconfont</span> <span class="hljs-string">icon-sakura</span> &#125;,<br>    <span class="hljs-attr">Lab:</span> &#123;<span class="hljs-attr">path:</span> <span class="hljs-string">/lab/</span>, <span class="hljs-attr">fa:</span> <span class="hljs-string">fa-cogs</span> &#125;,<br>  &#125; &#125;<br>  <span class="hljs-string">客户端:</span> &#123; <span class="hljs-attr">path:</span> <span class="hljs-string">/client/</span>, <span class="hljs-attr">fa:</span> <span class="hljs-string">fa-android</span> <span class="hljs-string">faa-vertical</span> &#125;<br>  <span class="hljs-attr">RSS:</span> &#123; <span class="hljs-attr">path:</span> <span class="hljs-string">/atom.xml</span>, <span class="hljs-attr">fa:</span> <span class="hljs-string">fa-rss</span> <span class="hljs-string">faa-pulse</span> &#125;<br><br><span class="hljs-comment"># Home page sort type: -1: newer first，1: older first. 【非】</span><br><span class="hljs-attr">homePageSortType:</span> <span class="hljs-number">-1</span><br><br><span class="hljs-comment"># Home page article shown number) 【非】</span><br><span class="hljs-attr">homeArticleShown:</span> <span class="hljs-number">10</span><br><br><span class="hljs-comment"># 背景图片 【选】</span><br><span class="hljs-attr">bgn:</span> <span class="hljs-number">8</span><br><br><span class="hljs-comment"># startdash面板 url, title, desc img 【改】</span><br><span class="hljs-attr">startdash:</span> <br>  <span class="hljs-bullet">-</span> &#123;<span class="hljs-attr">url:</span> <span class="hljs-string">/theme-sakura/</span>, <span class="hljs-attr">title:</span> <span class="hljs-string">Sakura</span>, <span class="hljs-attr">desc:</span> <span class="hljs-string">本站</span> <span class="hljs-string">hexo</span> <span class="hljs-string">主题</span>, <span class="hljs-attr">img:</span> <span class="hljs-string">/img/startdash/sakura.md.png</span>&#125;<br>  <span class="hljs-bullet">-</span> &#123;<span class="hljs-attr">url:</span> <span class="hljs-string">http://space.bilibili.com/271849279</span>, <span class="hljs-attr">title:</span> <span class="hljs-string">Bilibili</span>, <span class="hljs-attr">desc:</span> <span class="hljs-string">博主的b站视频</span>, <span class="hljs-attr">img:</span> <span class="hljs-string">/img/startdash/bilibili.jpg</span>&#125;<br>  <span class="hljs-bullet">-</span> &#123;<span class="hljs-attr">url:</span> <span class="hljs-string">/</span>, <span class="hljs-attr">title:</span> <span class="hljs-string">hojun的万事屋</span>, <span class="hljs-attr">desc:</span> <span class="hljs-string">技术服务</span>, <span class="hljs-attr">img:</span> <span class="hljs-string">/img/startdash/wangshiwu.jpg</span>&#125;<br><br><br><span class="hljs-comment"># your site build time or founded date</span><br><span class="hljs-comment"># 你的站点建立日期 【改】</span><br><span class="hljs-attr">siteBuildingTime:</span> <span class="hljs-number">07</span><span class="hljs-string">/17/2018</span><br><br><br><span class="hljs-comment"># 社交按钮(social)  url, img PC端配置 【改】</span><br><span class="hljs-attr">social:</span><br>  <span class="hljs-attr">github:</span> &#123;<span class="hljs-attr">url:</span> <span class="hljs-string">http://github.com/honjun</span>, <span class="hljs-attr">img:</span> <span class="hljs-string">/img/social/github.png</span>&#125;<br>  <span class="hljs-attr">sina:</span> &#123;<span class="hljs-attr">url:</span> <span class="hljs-string">http://weibo.com/mashirozx?is_all=1</span>, <span class="hljs-attr">img:</span> <span class="hljs-string">/img/social/sina.png</span>&#125;<br>  <span class="hljs-attr">wangyiyun:</span> &#123;<span class="hljs-attr">url:</span> <span class="hljs-string">http://weibo.com/mashirozx?is_all=1</span>, <span class="hljs-attr">img:</span> <span class="hljs-string">/img/social/wangyiyun.png</span>&#125;<br>  <span class="hljs-attr">zhihu:</span> &#123;<span class="hljs-attr">url:</span> <span class="hljs-string">http://weibo.com/mashirozx?is_all=1</span>, <span class="hljs-attr">img:</span> <span class="hljs-string">/img/social/zhihu.png</span>&#125;<br>  <span class="hljs-attr">email:</span> &#123;<span class="hljs-attr">url:</span> <span class="hljs-string">http://weibo.com/mashirozx?is_all=1</span>, <span class="hljs-attr">img:</span> <span class="hljs-string">/img/social/email.svg</span>&#125;<br>  <span class="hljs-attr">wechat:</span> &#123;<span class="hljs-attr">url:</span> <span class="hljs-string">/#</span>, <span class="hljs-attr">qrcode:</span> <span class="hljs-string">/img/custom/wechat.jpg</span>, <span class="hljs-attr">img:</span> <span class="hljs-string">/img/social/wechat.png</span>&#125;<br><br><span class="hljs-comment"># 社交按钮(msocial)  url, img 移动端配置 【改】</span><br><span class="hljs-attr">msocial:</span><br>  <span class="hljs-attr">github:</span> &#123;<span class="hljs-attr">url:</span> <span class="hljs-string">http://github.com/honjun</span>, <span class="hljs-attr">fa:</span> <span class="hljs-string">fa-github</span>, <span class="hljs-attr">color:</span> <span class="hljs-number">333</span>&#125;<br>  <span class="hljs-attr">weibo:</span> &#123;<span class="hljs-attr">url:</span> <span class="hljs-string">http://weibo.com/mashirozx?is_all=1</span>, <span class="hljs-attr">fa:</span> <span class="hljs-string">fa-weibo</span>, <span class="hljs-attr">color:</span> <span class="hljs-string">dd4b39</span>&#125;<br>  <span class="hljs-attr">qq:</span> &#123;<span class="hljs-attr">url:</span> <span class="hljs-string">https://wpa.qq.com/msgrd?v=3&amp;uin=954655431&amp;site=qq&amp;menu=yes</span>, <span class="hljs-attr">fa:</span> <span class="hljs-string">fa-qq</span>, <span class="hljs-attr">color:</span> <span class="hljs-string">25c6fe</span>&#125;<br><br><span class="hljs-comment"># 赞赏二维码（其中wechatSQ是赞赏单页面的赞赏码图片）【改】</span><br><span class="hljs-attr">donate:</span><br>  <span class="hljs-attr">alipay:</span> <span class="hljs-string">/img/custom/donate/AliPayQR.jpg</span><br>  <span class="hljs-attr">wechat:</span> <span class="hljs-string">/img/custom/donate/WeChanQR.jpg</span><br>  <span class="hljs-attr">wechatSQ:</span> <span class="hljs-string">/img/custom/donate/WeChanSQ.jpg</span><br><br><span class="hljs-comment"># 首页视频地址为https://cdn.jsdelivr.net/gh/honjun/hojun@1.2/Unbroken.mp4，配置如下 【改】</span><br><span class="hljs-attr">movies:</span><br>  <span class="hljs-attr">url:</span> <span class="hljs-string">https://cdn.jsdelivr.net/gh/honjun/hojun@1.2</span><br>  <span class="hljs-comment"># 多个视频用逗号隔开，随机获取。支持的格式目前已知MP4,Flv。其他的可以试下，不保证有用</span><br>  <span class="hljs-attr">name:</span> <span class="hljs-string">Unbroken.mp4</span><br><br><span class="hljs-comment"># 左下角aplayer播放器配置 主要改id和server这两项，修改详见[aplayer文档] 【改】</span><br><span class="hljs-attr">aplayer:</span> <br>  <span class="hljs-attr">id:</span> <span class="hljs-number">2660651585</span><br>  <span class="hljs-attr">server:</span> <span class="hljs-string">netease</span><br>  <span class="hljs-attr">type:</span> <span class="hljs-string">playlist</span><br>  <span class="hljs-attr">fixed:</span> <span class="hljs-literal">true</span><br>  <span class="hljs-attr">mini:</span> <span class="hljs-literal">false</span><br>  <span class="hljs-attr">autoplay:</span> <span class="hljs-literal">false</span><br>  <span class="hljs-attr">loop:</span> <span class="hljs-string">all</span><br>  <span class="hljs-attr">order:</span> <span class="hljs-string">random</span><br>  <span class="hljs-attr">preload:</span> <span class="hljs-string">auto</span><br>  <span class="hljs-attr">volume:</span> <span class="hljs-number">0.7</span><br>  <span class="hljs-attr">mutex:</span> <span class="hljs-literal">true</span><br><br><span class="hljs-comment"># Valine评论配置【改】</span><br><span class="hljs-attr">valine:</span> <span class="hljs-literal">true</span><br><span class="hljs-attr">v_appId:</span> <span class="hljs-string">GyC3NzMvd0hT9Yyd2hYIC0MN-gzGzoHsz</span><br><span class="hljs-attr">v_appKey:</span> <span class="hljs-string">mgOpfzbkHYqU92CV4IDlAUHQ</span><br></code></pre></td></tr></table></figure>

<h2 id="分类页和标签页配置"><a href="#分类页和标签页配置" class="headerlink" title="分类页和标签页配置"></a>分类页和标签页配置</h2><h3 id="分类页"><a href="#分类页" class="headerlink" title="分类页"></a>分类页</h3><p><img src="https://ws3.sinaimg.cn/large/006bYVyvly1g07b0gucy9j31060jih76.jpg"></p>
<h3 id="标签页"><a href="#标签页" class="headerlink" title="标签页"></a>标签页</h3><p><img src="https://wx2.sinaimg.cn/large/006bYVyvly1g07azb2399j31040jgazs.jpg"></p>
<p>配置项在\themes\Sakura\languages\zh-cn.yml里。新增一个分类或标签最好加下哦，当然嫌麻烦可以直接使用一张默认图片（可以改主题或者直接把404图片替换下，征求下意见要不要给这个在配置文件中加个开关，可以issue或群里提出来），现在是没设置的话会使用那种倒立小狗404哦。</p>
<figure class="highlight yml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br></pre></td><td class="code"><pre><code class="hljs yml"><span class="hljs-comment">#category</span><br><span class="hljs-comment"># 按分类名创建</span><br><span class="hljs-string">技术:</span><br>    <span class="hljs-comment">#中文标题</span><br>    <span class="hljs-attr">zh:</span> <span class="hljs-string">野生技术协会</span> <br>    <span class="hljs-comment"># 英文标题</span><br>    <span class="hljs-attr">en:</span> <span class="hljs-string">Geek</span> <span class="hljs-string">–</span> <span class="hljs-string">Only</span> <span class="hljs-string">for</span> <span class="hljs-string">Love</span><br>    <span class="hljs-comment"># 封面图片</span><br>    <span class="hljs-attr">img:</span> <span class="hljs-string">https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/banner/coding.jpg</span><br><span class="hljs-string">生活:</span><br>    <span class="hljs-attr">zh:</span> <span class="hljs-string">生活</span><br>    <span class="hljs-attr">en:</span> <span class="hljs-string">live</span><br>    <span class="hljs-attr">img:</span> <span class="hljs-string">https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/banner/writing.jpg</span><br><br><span class="hljs-comment">#tag</span><br><span class="hljs-comment"># 标签名即是标题</span><br><span class="hljs-string">悦读:</span><br>    <span class="hljs-comment"># 封面图片</span><br>    <span class="hljs-attr">img:</span> <span class="hljs-string">https://cdn.jsdelivr.net/gh/honjun/cdn@1.6/img/banner/reading.jpg</span><br></code></pre></td></tr></table></figure>

<h2 id="单页面封面配置"><a href="#单页面封面配置" class="headerlink" title="单页面封面配置"></a>单页面封面配置</h2><p><img src="https://ws3.sinaimg.cn/large/006bYVyvly1g07b1pi619j31080jge4u.jpg"><br>如留言板页面页面，位于source下的comment下，打开index.md如下：</p>
<figure class="highlight md"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><code class="hljs md">---<br>title: comment<br>date: 2018-12-20 23:13:48<br>keywords: 留言板<br>description: <br>comments: true<br><span class="hljs-section"># 在这里配置单页面头部图片，自定义替换哦~</span><br>photos: https://cdn.jsdelivr.net/gh/honjun/cdn@1.4/img/banner/comment.jpg<br>---<br></code></pre></td></tr></table></figure>


<h2 id="单页面配置"><a href="#单页面配置" class="headerlink" title="单页面配置"></a>单页面配置</h2><h3 id="番组计划页-（请直接在下载后的文件中改，下面的添加了注释可能会有些影响）"><a href="#番组计划页-（请直接在下载后的文件中改，下面的添加了注释可能会有些影响）" class="headerlink" title="番组计划页 （请直接在下载后的文件中改，下面的添加了注释可能会有些影响）"></a>番组计划页 （请直接在下载后的文件中改，下面的添加了注释可能会有些影响）</h3><p><img src="https://wx2.sinaimg.cn/large/006bYVyvly1g07b2gyx60j31090jjahj.jpg"></p>
<figure class="highlight yml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br></pre></td><td class="code"><pre><code class="hljs yml"><span class="hljs-meta">---</span><br><span class="hljs-attr">layout:</span> <span class="hljs-string">bangumi</span><br><span class="hljs-attr">title:</span> <span class="hljs-string">bangumi</span><br><span class="hljs-attr">comments:</span> <span class="hljs-literal">false</span><br><span class="hljs-attr">date:</span> <span class="hljs-number">2019-02-10 21:32:48</span><br><span class="hljs-attr">keywords:</span><br><span class="hljs-attr">description:</span><br><span class="hljs-attr">bangumis:</span><br>  <span class="hljs-comment"># 番组图片</span><br>  <span class="hljs-bullet">-</span> <span class="hljs-attr">img:</span> <span class="hljs-string">https://lain.bgm.tv/pic/cover/l/0e/1e/218971_2y351.jpg</span><br>  <span class="hljs-comment"># 番组名</span><br>    <span class="hljs-attr">title:</span> <span class="hljs-string">朝花夕誓——于离别之朝束起约定之花</span><br>  <span class="hljs-comment"># 追番状态 （追番ing/已追完）</span><br>    <span class="hljs-attr">status:</span> <span class="hljs-string">已追完</span><br>  <span class="hljs-comment"># 追番进度</span><br>    <span class="hljs-attr">progress:</span> <span class="hljs-number">100</span><br>  <span class="hljs-comment"># 番剧日文名称</span><br>    <span class="hljs-attr">jp:</span> <span class="hljs-string">さよならの朝に約束の花をかざろう</span><br>  <span class="hljs-comment"># 放送时间</span><br>    <span class="hljs-attr">time:</span> <span class="hljs-string">放送时间:</span> <span class="hljs-number">2018-02-24 </span><span class="hljs-string">SUN.</span><br>  <span class="hljs-comment"># 番剧介绍</span><br>    <span class="hljs-attr">desc:</span>  <span class="hljs-string">住在远离尘嚣的土地，一边将每天的事情编织成名为希比欧的布，一边静静生活的伊欧夫人民。在15岁左右外表就停止成长，拥有数百年寿命的他们，被称为“离别的一族”，并被视为活着的传说。没有双亲的伊欧夫少女玛奇亚，过着被伙伴包围的平稳日子，却总感觉“孤身一人”。他们的这种日常，一瞬间就崩溃消失。追求伊欧夫的长寿之血，梅萨蒂军乘坐着名为雷纳特的古代兽发动了进攻。在绝望与混乱之中，伊欧夫的第一美女蕾莉亚被梅萨蒂带走，而玛奇亚暗恋的少年克里姆也失踪了。玛奇亚虽然总算逃脱了，却失去了伙伴和归去之地……。</span><br>  <span class="hljs-bullet">-</span> <span class="hljs-attr">img:</span> <span class="hljs-string">https://lain.bgm.tv/pic/cover/l/0e/1e/218971_2y351.jpg</span><br>    <span class="hljs-attr">title:</span> <span class="hljs-string">朝花夕誓——于离别之朝束起约定之花</span><br>    <span class="hljs-attr">status:</span> <span class="hljs-string">已追完</span><br>    <span class="hljs-attr">progress:</span> <span class="hljs-number">50</span><br>    <span class="hljs-attr">jp:</span> <span class="hljs-string">さよならの朝に約束の花をかざろう</span><br>    <span class="hljs-attr">time:</span> <span class="hljs-string">放送时间:</span> <span class="hljs-number">2018-02-24 </span><span class="hljs-string">SUN.</span><br>    <span class="hljs-attr">desc:</span> <span class="hljs-string">住在远离尘嚣的土地，一边将每天的事情编织成名为希比欧的布，一边静静生活的伊欧夫人民。在15岁左右外表就停止成长，拥有数百年寿命的他们，被称为“离别的一族”，并被视为活着的传说。没有双亲的伊欧夫少女玛奇亚，过着被伙伴包围的平稳日子，却总感觉“孤身一人”。他们的这种日常，一瞬间就崩溃消失。追求伊欧夫的长寿之血，梅萨蒂军乘坐着名为雷纳特的古代兽发动了进攻。在绝望与混乱之中，伊欧夫的第一美女蕾莉亚被梅萨蒂带走，而玛奇亚暗恋的少年克里姆也失踪了。玛奇亚虽然总算逃脱了，却失去了伙伴和归去之地……。</span><br><span class="hljs-meta">---</span><br></code></pre></td></tr></table></figure>

<h3 id="友链页-（请直接在下载后的文件中改，下面的添加了注释可能会有些影响）"><a href="#友链页-（请直接在下载后的文件中改，下面的添加了注释可能会有些影响）" class="headerlink" title="友链页 （请直接在下载后的文件中改，下面的添加了注释可能会有些影响）"></a>友链页 （请直接在下载后的文件中改，下面的添加了注释可能会有些影响）</h3><p><img src="https://ws3.sinaimg.cn/large/006bYVyvly1g07b39tleej31080jhjv1.jpg"></p>
<figure class="highlight yml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br></pre></td><td class="code"><pre><code class="hljs yml"><span class="hljs-meta">---</span><br><span class="hljs-attr">layout:</span> <span class="hljs-string">links</span><br><span class="hljs-attr">title:</span> <span class="hljs-string">links</span><br><span class="hljs-comment"># 创建日期，可以改下</span><br><span class="hljs-attr">date:</span> <span class="hljs-number">2018-12-19 23:11:06</span> <br><span class="hljs-comment"># 图片上的标题，自定义修改</span><br><span class="hljs-attr">keywords:</span> <span class="hljs-string">友人帐</span> <br><span class="hljs-attr">description:</span> <br><span class="hljs-comment"># true/false 开启/关闭评论</span><br><span class="hljs-attr">comments:</span> <span class="hljs-literal">true</span> <br><span class="hljs-comment"># 页面头部图片，自定义修改</span><br><span class="hljs-attr">photos:</span> <span class="hljs-string">https://cdn.jsdelivr.net/gh/honjun/cdn@1.4/img/banner/links.jpg</span> <br><span class="hljs-comment"># 友链配置</span><br><span class="hljs-attr">links:</span> <br>  <span class="hljs-comment"># 类型分组</span><br>  <span class="hljs-bullet">-</span> <span class="hljs-attr">group:</span> <span class="hljs-string">个人项目</span><br>    <span class="hljs-comment"># 类型简介</span><br>    <span class="hljs-attr">desc:</span> <span class="hljs-string">充分说明这家伙是条咸鱼</span> <span class="hljs-string">&lt;</span> <span class="hljs-string">(￣︶￣)&gt;</span><br>    <span class="hljs-attr">items:</span><br>    <span class="hljs-comment"># 友链链接</span><br>    <span class="hljs-bullet">-</span> <span class="hljs-attr">url:</span> <span class="hljs-string">https://shino.cc/fgvf</span><br>    <span class="hljs-comment"># 友链头像</span><br>      <span class="hljs-attr">img:</span> <span class="hljs-string">https://cloud.moezx.cc/Picture/svg/landscape/fields.svg</span><br>    <span class="hljs-comment"># 友链站点名</span><br>      <span class="hljs-attr">name:</span> <span class="hljs-string">Google</span><br>    <span class="hljs-comment"># 友链介绍  下面雷同</span><br>      <span class="hljs-attr">desc:</span> <span class="hljs-string">Google</span> <span class="hljs-string">镜像</span><br>    <span class="hljs-bullet">-</span> <span class="hljs-attr">url:</span> <span class="hljs-string">https://shino.cc/fgvf</span><br>      <span class="hljs-attr">img:</span> <span class="hljs-string">https://cloud.moezx.cc/Picture/svg/landscape/fields.svg</span><br>      <span class="hljs-attr">name:</span> <span class="hljs-string">Google</span><br>      <span class="hljs-attr">desc:</span> <span class="hljs-string">Google</span> <span class="hljs-string">镜像</span><br>  <span class="hljs-comment"># 类型分组...</span><br>  <span class="hljs-bullet">-</span> <span class="hljs-attr">group:</span> <span class="hljs-string">小伙伴们</span><br>    <span class="hljs-attr">desc:</span> <span class="hljs-string">欢迎交换友链</span> <span class="hljs-string">ꉂ(ˊᗜˋ)</span><br>    <span class="hljs-attr">items:</span><br>    <span class="hljs-bullet">-</span> <span class="hljs-attr">url:</span> <span class="hljs-string">https://shino.cc/fgvf</span><br>      <span class="hljs-attr">img:</span> <span class="hljs-string">https://cloud.moezx.cc/Picture/svg/landscape/fields.svg</span><br>      <span class="hljs-attr">name:</span> <span class="hljs-string">Google</span><br>      <span class="hljs-attr">desc:</span> <span class="hljs-string">Google</span> <span class="hljs-string">镜像</span><br>    <span class="hljs-bullet">-</span> <span class="hljs-attr">url:</span> <span class="hljs-string">https://shino.cc/fgvf</span><br>      <span class="hljs-attr">img:</span> <span class="hljs-string">https://cloud.moezx.cc/Picture/svg/landscape/fields.svg</span><br>      <span class="hljs-attr">name:</span> <span class="hljs-string">Google</span><br>      <span class="hljs-attr">desc:</span> <span class="hljs-string">Google</span> <span class="hljs-string">镜像</span><br><span class="hljs-meta">---</span><br></code></pre></td></tr></table></figure>

<h2 id="写文章配置"><a href="#写文章配置" class="headerlink" title="写文章配置"></a>写文章配置</h2><p>主题集成了个人插件hexo-tag-bili和hexo-tag-fancybox_img。其中hexo-tag-bili用来在文章或单页面中插入B站外链视频，使用语法如下：</p>
<figure class="highlight md"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs md">&#123;% bili video<span class="hljs-emphasis">_id [page] %&#125;</span><br></code></pre></td></tr></table></figure>
<p>详细使用教程详见<a target="_blank" rel="noopener" href="https://github.com/honjun/hexo-tag-bili/blob/master/README-zh_cn.md">hexo-tag-bili</a>。</p>
<p>hexo-tag-fancybox_img用来在文章或单页面中图片，使用语法如下：</p>
<figure class="highlight md"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><code class="hljs md">&#123;% fb<span class="hljs-emphasis">_img src [caption] %&#125;</span><br></code></pre></td></tr></table></figure>
<p>详细使用教程详见<a target="_blank" rel="noopener" href="https://github.com/honjun/hexo-tag-fancybox_img/blob/master/README-zh_cn.md">hexo-tag-fancybox_img</a></p>
<h2 id="还有啥，一时想不起来……"><a href="#还有啥，一时想不起来……" class="headerlink" title="还有啥，一时想不起来……"></a>还有啥，一时想不起来……</h2><p>To be continued…</p>
</article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">文章作者: </span><span class="post-copyright-info"><a href="mailto:undefined">超好吃的派蒙</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">文章链接: </span><span class="post-copyright-info"><a href="https://mantouxia.gitee.io/2018/12/12/Hexo-Theme-Sakura/">https://mantouxia.gitee.io/2018/12/12/Hexo-Theme-Sakura/</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="https://mantouxia.gitee.io" target="_blank">火花骑士团</a>！</span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/tags/web/">web</a><a class="post-meta__tags" href="/tags/%E6%82%A6%E8%AF%BB/">悦读</a></div><div class="post_share"><div class="social-share" data-image="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/social-share.js/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/social-share.js/dist/js/social-share.min.js" defer></script></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-full"><a href="/2021/03/03/hello-world/"><img class="prev-cover" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg" onerror="onerror=null;src='/img/404.jpg'" alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">Hello World</div></div></a></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="card-info-avatar is-center"><img class="avatar-img" src="/null" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/><div class="author-info__name">超好吃的派蒙</div><div class="author-info__description"></div></div><div class="card-info-data"><div class="card-info-data-item is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">4</div></a></div><div class="card-info-data-item is-center"><a href="/tags/"><div class="headline">标签</div><div class="length-num">4</div></a></div><div class="card-info-data-item is-center"><a href="/categories/"><div class="headline">分类</div><div class="length-num">2</div></a></div></div><a class="button--animated" id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/xxxxxx"><i class="fab fa-github"></i><span>Follow Me</span></a></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn card-announcement-animation"></i><span>公告</span></div><div class="announcement_content">This is my Blog</div></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#%E4%BA%A4%E6%B5%81%E7%BE%A4"><span class="toc-number">1.</span> <span class="toc-text">交流群</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E4%B8%BB%E9%A2%98%E7%89%B9%E6%80%A7"><span class="toc-number">2.</span> <span class="toc-text">主题特性</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E8%B5%9E%E8%B5%8F%E4%BD%9C%E8%80%85"><span class="toc-number">3.</span> <span class="toc-text">赞赏作者</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E6%9C%AA%E5%AE%8C%E5%96%84%E7%9A%84%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B"><span class="toc-number">4.</span> <span class="toc-text">未完善的使用教程</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#1%E3%80%81%E4%B8%BB%E9%A2%98%E4%B8%8B%E8%BD%BD%E5%AE%89%E8%A3%85"><span class="toc-number">5.</span> <span class="toc-text">1、主题下载安装</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#2%E3%80%81%E4%B8%BB%E9%A2%98%E9%85%8D%E7%BD%AE"><span class="toc-number">6.</span> <span class="toc-text">2、主题配置</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%8D%9A%E5%AE%A2%E6%A0%B9%E7%9B%AE%E5%BD%95%E4%B8%8B%E7%9A%84-config%E9%85%8D%E7%BD%AE"><span class="toc-number">6.1.</span> <span class="toc-text">博客根目录下的_config配置</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E4%B8%BB%E9%A2%98%E7%9B%AE%E5%BD%95%E4%B8%8B%E7%9A%84-config%E9%85%8D%E7%BD%AE"><span class="toc-number">6.2.</span> <span class="toc-text">主题目录下的_config配置</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%88%86%E7%B1%BB%E9%A1%B5%E5%92%8C%E6%A0%87%E7%AD%BE%E9%A1%B5%E9%85%8D%E7%BD%AE"><span class="toc-number">7.</span> <span class="toc-text">分类页和标签页配置</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%88%86%E7%B1%BB%E9%A1%B5"><span class="toc-number">7.1.</span> <span class="toc-text">分类页</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E6%A0%87%E7%AD%BE%E9%A1%B5"><span class="toc-number">7.2.</span> <span class="toc-text">标签页</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%8D%95%E9%A1%B5%E9%9D%A2%E5%B0%81%E9%9D%A2%E9%85%8D%E7%BD%AE"><span class="toc-number">8.</span> <span class="toc-text">单页面封面配置</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%8D%95%E9%A1%B5%E9%9D%A2%E9%85%8D%E7%BD%AE"><span class="toc-number">9.</span> <span class="toc-text">单页面配置</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E7%95%AA%E7%BB%84%E8%AE%A1%E5%88%92%E9%A1%B5-%EF%BC%88%E8%AF%B7%E7%9B%B4%E6%8E%A5%E5%9C%A8%E4%B8%8B%E8%BD%BD%E5%90%8E%E7%9A%84%E6%96%87%E4%BB%B6%E4%B8%AD%E6%94%B9%EF%BC%8C%E4%B8%8B%E9%9D%A2%E7%9A%84%E6%B7%BB%E5%8A%A0%E4%BA%86%E6%B3%A8%E9%87%8A%E5%8F%AF%E8%83%BD%E4%BC%9A%E6%9C%89%E4%BA%9B%E5%BD%B1%E5%93%8D%EF%BC%89"><span class="toc-number">9.1.</span> <span class="toc-text">番组计划页 （请直接在下载后的文件中改，下面的添加了注释可能会有些影响）</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%8F%8B%E9%93%BE%E9%A1%B5-%EF%BC%88%E8%AF%B7%E7%9B%B4%E6%8E%A5%E5%9C%A8%E4%B8%8B%E8%BD%BD%E5%90%8E%E7%9A%84%E6%96%87%E4%BB%B6%E4%B8%AD%E6%94%B9%EF%BC%8C%E4%B8%8B%E9%9D%A2%E7%9A%84%E6%B7%BB%E5%8A%A0%E4%BA%86%E6%B3%A8%E9%87%8A%E5%8F%AF%E8%83%BD%E4%BC%9A%E6%9C%89%E4%BA%9B%E5%BD%B1%E5%93%8D%EF%BC%89"><span class="toc-number">9.2.</span> <span class="toc-text">友链页 （请直接在下载后的文件中改，下面的添加了注释可能会有些影响）</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%86%99%E6%96%87%E7%AB%A0%E9%85%8D%E7%BD%AE"><span class="toc-number">10.</span> <span class="toc-text">写文章配置</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E8%BF%98%E6%9C%89%E5%95%A5%EF%BC%8C%E4%B8%80%E6%97%B6%E6%83%B3%E4%B8%8D%E8%B5%B7%E6%9D%A5%E2%80%A6%E2%80%A6"><span class="toc-number">11.</span> <span class="toc-text">还有啥，一时想不起来……</span></a></li></ol></div></div><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/2021/03/06/Linux%E9%98%B2%E7%81%AB%E5%A2%99/" title="Linux防火墙"><img src="https://ftp.bmp.ovh/imgs/2021/03/a1015abe6e177eff.jpeg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Linux防火墙"/></a><div class="content"><a class="title" href="/2021/03/06/Linux%E9%98%B2%E7%81%AB%E5%A2%99/" title="Linux防火墙">Linux防火墙</a><time datetime="2021-03-06T13:25:58.000Z" title="发表于 2021-03-06 21:25:58">2021-03-06</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2021/03/04/DNS%E6%9C%8D%E5%8A%A1/" title="DNS服务"><img src="https://ftp.bmp.ovh/imgs/2021/03/bcbedb2ef8c28861.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="DNS服务"/></a><div class="content"><a class="title" href="/2021/03/04/DNS%E6%9C%8D%E5%8A%A1/" title="DNS服务">DNS服务</a><time datetime="2021-03-04T12:09:24.000Z" title="发表于 2021-03-04 20:09:24">2021-03-04</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2021/03/03/hello-world/" title="Hello World"><img src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Hello World"/></a><div class="content"><a class="title" href="/2021/03/03/hello-world/" title="Hello World">Hello World</a><time datetime="2021-03-03T04:23:14.830Z" title="发表于 2021-03-03 12:23:14">2021-03-03</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2018/12/12/Hexo-Theme-Sakura/" title="Hexo-Theme-Sakura"><img src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Hexo-Theme-Sakura"/></a><div class="content"><a class="title" href="/2018/12/12/Hexo-Theme-Sakura/" title="Hexo-Theme-Sakura">Hexo-Theme-Sakura</a><time datetime="2018-12-12T14:16:01.000Z" title="发表于 2018-12-12 22:16:01">2018-12-12</time></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2021 By 超好吃的派蒙</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script>var preloader = {
  endLoading: () => {
    document.body.style.overflow = 'auto';
    document.getElementById('loading-box').classList.add("loaded")
  },
  initLoading: () => {
    document.body.style.overflow = '';
    document.getElementById('loading-box').classList.remove("loaded")

  }
}
window.addEventListener('load',preloader.endLoading())</script><div class="js-pjax"></div><canvas class="fireworks" mobile="false"></canvas><script src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/fireworks.min.js"></script><script defer="defer" id="ribbon" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/canvas-ribbon.min.js" size="150" alpha="0.6" zIndex="-1" mobile="false" data-click="true"></script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>